<div class="thumbbox column3">
	<div class="thumb_func">&nbsp;
		<span class="ui-icon ui-icon-pencil right" title="update" id="<?php echo $this->createUrl('update',array('id'=>$data->media_id));?>" onclick="func_update($(this));"></span>
		<span class="ui-icon ui-icon-circle-zoomin left" title="zoom" onclick="func_show($(this));"></span>
	</div>
	<div class="thumbnail">
		<?php
			$img = CHtml::image(File::model()->generateFilePath(File::model()->findByPk($data->media_pic_id),0),$data->media_name);
			echo CHtml::link($img, 'javascript:void();', array('onclick'=>'func_showImg($(this));','name'=>File::model()->generateFilePath(File::model()->findByPk($data->media_pic_id),0,0),'id'=>$data->media_id,'title'=>$data->media_describe));	
		?>
	</div>
	<div class="thumbbox_des">
		<?php echo CHtml::link(CHtml::encode($data->media_name),array('update','id'=>$data->media_id),array('alt'=>$data->media_describe,'name'=>$this->createUrl('view',array('id'=>$data->media_id)),'onclick'=>'func_showInfo($(this));'));?>
	</div>
</div>